# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CreateVideoUploadTaskRequestObject(object):

    def __init__(self, title, fileName, httpMethod=None, fileSize=None, coverUrl=None, description=None, categoryId=None, tags=None, transcodeTemplateGroupId=None, transcodeTemplateIds=None, watermarkIds=None, userData=None):
        """
        :param httpMethod: (Optional) HTTP 请求方法，上传支持 PUT 和 POST 方法，默认值为 PUT 。
通过该接口获取到上传地址和凭证之后，后续的上传动作，必须使用和该值一致的方法进行文件上传。

        :param title:  视频标题
        :param fileName:  文件名称
        :param fileSize: (Optional) 文件大小
        :param coverUrl: (Optional) 封面地址
        :param description: (Optional) 视频描述
        :param categoryId: (Optional) 分类ID
        :param tags: (Optional) 视频标签集合
        :param transcodeTemplateGroupId: (Optional) 转码模板组ID
        :param transcodeTemplateIds: (Optional) 转码模板ID集合
        :param watermarkIds: (Optional) 水印ID集合
        :param userData: (Optional) 自定义数据
        """

        self.httpMethod = httpMethod
        self.title = title
        self.fileName = fileName
        self.fileSize = fileSize
        self.coverUrl = coverUrl
        self.description = description
        self.categoryId = categoryId
        self.tags = tags
        self.transcodeTemplateGroupId = transcodeTemplateGroupId
        self.transcodeTemplateIds = transcodeTemplateIds
        self.watermarkIds = watermarkIds
        self.userData = userData
